package com.sikaryofficial.system.api.model.infomation;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * @author : qinjinyuan
 * @desc : 分类(子标题)JSON结构化类
 * @date : 2023/11/01 10:08
 */
@NoArgsConstructor
@Getter
@Setter
@ToString
@ApiModel(value = "分类(子标题)", description = "分类(子标题)")
public class ArticleCategoryObjVO implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "分类(子标题)ID")
    private Long articleCategoryId;

    @ApiModelProperty(value = "分类(子标题)名称")
    private String articleCategoryName;

    @ApiModelProperty(value = "分类(子标题)名称")
    private String cover;

    @ApiModelProperty(value = "用户输入内容：仅限文字")
    @Length(max = 200,message = "The article category content length cannot exceed 200")
    private String content;
}
